package com.entity;

public class Major {
	//专业编号
	private Integer major_id;
	//专业名称
	private String major_name;
	//所属学院
	private String major_ofCollege;
	//专业等级
	private String major_level;
	public Major(Integer major_id, String major_name, String major_ofCollege, String major_level) {
		super();
		this.major_id = major_id;
		this.major_name = major_name;
		this.major_ofCollege = major_ofCollege;
		this.major_level = major_level;
	}
	public Major() {
		super();
	}
	/**
	 * @return the major_id
	 */
	public Integer getMajor_id() {
		return major_id;
	}
	/**
	 * @param major_id the major_id to set
	 */
	public void setMajor_id(Integer major_id) {
		this.major_id = major_id;
	}
	/**
	 * @return the major_name
	 */
	public String getMajor_name() {
		return major_name;
	}
	/**
	 * @param major_name the major_name to set
	 */
	public void setMajor_name(String major_name) {
		this.major_name = major_name;
	}
	/**
	 * @return the major_ofCollege
	 */
	public String getMajor_ofCollege() {
		return major_ofCollege;
	}
	/**
	 * @param major_ofCollege the major_ofCollege to set
	 */
	public void setMajor_ofCollege(String major_ofCollege) {
		this.major_ofCollege = major_ofCollege;
	}
	/**
	 * @return the major_level
	 */
	public String getMajor_level() {
		return major_level;
	}
	/**
	 * @param major_level the major_level to set
	 */
	public void setMajor_level(String major_level) {
		this.major_level = major_level;
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "Major [major_id=" + major_id + ", major_name=" + major_name + ", major_ofCollege=" + major_ofCollege
				+ ", major_level=" + major_level + "]";
	}
	
	

}
